﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Services;

namespace ASPItalia.ModelVirtualCasting.WCF.Services
{
    public class ODataService : DataService<ODataModelsSource>
    {
        public static void InitializeService(IDataServiceConfiguration config)
        {
            config.SetEntitySetAccessRule("Models", EntitySetRights.AllRead);
            config.SetEntitySetAccessRule("Candidates", EntitySetRights.AllRead);
        } 

    }
}
